import Vue from 'vue'
import App from './App'
import router from './router'
import store from './vuex/store'

import './assets/style/mintui.css'
import './assets/style/mystyle.css'
import MintUI from 'mint-ui'
import wx from 'weixin-js-sdk'
//import vconsole from 'vconsole'
Vue.use(MintUI)
Vue.prototype.$wx = wx

Vue.prototype.setVuex = function (key, val) {
  return this.$store.commit(key, val)
}
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: {App}
})
//new vconsole()
